package com.ea.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ea.admin.pojo.dto.AdminOperatingLogDto;
import com.ea.admin.pojo.po.AdminOperatingLog;
import com.ea.common.mybatis.EmoAnalyBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface AdminOperatingLogMapper extends EmoAnalyBaseMapper<AdminOperatingLog> {
    Page<AdminOperatingLogDto> getOperateLog(
            Page<AdminOperatingLogDto> objectPage,
            @Param("username") String username,
            @Param("name") String name,
            @Param("startTime") Date startTime,
            @Param("endTime") Date endTime
    );
}
